
import { getUserInfoUrl } from "@/command/apiTool";
import { useDetail, useList } from "@/hooks";
import { getAction, postAction } from "@/command/netTool";
import { reactive, watch } from "vue";

export const useRequest = () => {
    const form=reactive({
            pageNo:1,

    })
    //
    const [queryMonthData, queryMonthDataControl] = useDetail(
        getUserInfoUrl({
            dh: "/api/H5/gov/perCenter/queryMonthDataLarge",
            xh: "/api/H5/gov/perCenter/queryMonthDataSmall",
        }),
            [{
                "by": 0,
                "sy": 0,
                "title": "",
                "xc": 0
            }]
        
            // {
            //     "code": 0,
            //     "data": {
            //         "count": 0,
            //         "otherData": {},
            //         "pageNo": 0,
            //         "pageSize": 0
            //     },
            //     "msg": "",
            //     "status": 0
            // }
    );

    return {
        queryMonthData,
    }
}